﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SelfExaminationDetail.aspx.cs" Inherits="Rison.Web.ZP.SelfExaminationDetail" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>测评自查表基本信息</title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:HiddenField ID="HiddenID" runat="server" Visible="true" />
    <asp:HiddenField ID="HiddentYear" runat="server" Visible="true" />
    <div>
    <%--单位--%>
    <div id="department">        
        <table>
            <tr>
            <th>1. 单位名称</th>
            <th colspan="7">
                <asp:TextBox ID="txtCompanyName" runat="server">在此输入...</asp:TextBox>
                </th>
            </tr>
            <tr>
                <td>a.主管部门（科室）</td>
                <td colspan="7">
                    <asp:TextBox ID="txtZGKS" runat="server">在此输入...</asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>b.分管领导</td>
                <td>
                    <asp:TextBox ID="txtFGLD" runat="server">在此输入...</asp:TextBox>
                </td>
                <td>固定电话</td>
                <td>
                    <asp:TextBox ID="txtFGLDTelephone" runat="server"></asp:TextBox>
                </td>
                <td>手机</td>
                <td>
                    <asp:TextBox ID="txtFGLDMobile" runat="server"></asp:TextBox>
                </td>
                <td>邮箱</td>
                <td>
                    <asp:TextBox ID="txtFGLDEmail" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>c.网站安全负责人</td>
                <td>
                    <asp:TextBox ID="txtWZFZR" runat="server">在此输入...</asp:TextBox>
                </td>
                <td>固定电话</td>
                <td>
                    <asp:TextBox ID="txtWZFZRTelephone" runat="server"></asp:TextBox>
                </td>
                <td>手机</td>
                <td>
                    <asp:TextBox ID="txtWZFZRMobile" runat="server"></asp:TextBox>
                </td>
                <td>邮箱</td>
                <td>
                    <asp:TextBox ID="txtWZFZREmail" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>d.紧急安全联络人</td>
                <td>
                    <asp:TextBox ID="txtAQLLR" runat="server">在此输入...</asp:TextBox>
                </td>
                <td>固定电话</td>
                <td>
                    <asp:TextBox ID="txtAQLLRTelephone" runat="server"></asp:TextBox>
                </td>
                <td>手机</td>
                <td>
                    <asp:TextBox ID="txtAQLLRMobile" runat="server"></asp:TextBox>
                </td>
                <td>邮箱</td>
                <td>
                    <asp:TextBox ID="txtAQLLREmail" runat="server"></asp:TextBox>
                </td>
            </tr>            
         </table>
    </div>
    <div id="website">        
        <table>
            <tr>
            <th>2. 网站名称</th>
            <th colspan="7">
                <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                </th>
            </tr>
            <tr>
                <td>a.网站负责人（管理员）</td>
                <td>
                    <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                </td>
                <td>固定电话</td>
                <td>
                    <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
                </td>
                <td>手机</td>
                <td>
                    <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
                </td>
                <td>邮箱</td>
                <td>
                    <asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>
                </td>
            </tr>           
            <tr>
                <td>b.填表人</td>
                <td>
                    <asp:TextBox ID="TextBox6" runat="server"></asp:TextBox>
                </td>
                <td>固定电话</td>
                <td>
                    <asp:TextBox ID="TextBox7" runat="server"></asp:TextBox>
                </td>
                <td>手机</td>
                <td>
                    <asp:TextBox ID="TextBox8" runat="server"></asp:TextBox>
                </td>
                <td>邮箱</td>
                <td>
                    <asp:TextBox ID="TextBox9" runat="server"></asp:TextBox>
                </td>
            </tr>
           <tr>
               <td colspan="2">
               c.网站是否有专职工作人员
               </td>
               <td colspan="6"><asp:RadioButtonList ID="rblZZRY" runat="server" 
                       RepeatDirection="Horizontal">
                       <asp:ListItem Selected="True">是</asp:ListItem>
                       <asp:ListItem>否</asp:ListItem>
                   </asp:RadioButtonList>
               </td>
           </tr>   
    </table>
    </div>
    <div>
        <table>
            <tr>
                <th colspan="2">3.网站托管单位</th>
             </tr>
             <tr><td>
                 <asp:RadioButtonList ID="RadioButtonList1" runat="server" 
                     RepeatDirection="Horizontal">
                     <asp:ListItem Selected="True">区门户网站</asp:ListItem>
                     <asp:ListItem>区信息中心</asp:ListItem>
                     <asp:ListItem>IDC机房</asp:ListItem>
                     <asp:ListItem>其他</asp:ListItem>
                 </asp:RadioButtonList>
                 </td>
                 <td>
                     <asp:TextBox ID="txtQT" runat="server">请文字说明...</asp:TextBox></td></tr>
        </table>       
    </div>
    <div>
        <table>
            <tr>
                <th colspan="2">4. 网站域名</th>
             </tr>
             <tr>
                <td>a.一级域名</td>
                <td>
                    <asp:TextBox ID="txtTopDomain" runat="server"></asp:TextBox></td>
             </tr>
             <tr>
                <td>b.二级域名</td>
                <td>
                    <asp:TextBox ID="txtSecondDomain" runat="server"></asp:TextBox></td>
             </tr>
        </table>
    </div>
    <div>
        <table>
            <tr>
                <th colspan="2">5. 子网站情况</th>
             </tr>
              <tr>
                <td>a.是否有子网站</td>
                <td>
                    <asp:RadioButtonList ID="RadioButtonList2" runat="server" 
                       RepeatDirection="Horizontal">
                       <asp:ListItem Selected="True">是</asp:ListItem>
                       <asp:ListItem>否</asp:ListItem>
                   </asp:RadioButtonList></td>
             </tr>
             <tr>
                <td colspan="2">
                   <%-- <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False">
                        <Columns>
                            <asp:TemplateField></asp:TemplateField>
                            <asp:TemplateField></asp:TemplateField>
                            <asp:CommandField ShowDeleteButton="True" />
                            <asp:ButtonField Text="+" />
                        </Columns>
                    </asp:GridView>--%>
                    <asp:FormView ID="fwWebsite" runat="server" BorderWidth="1px" 
                        DefaultMode="Edit"                   
                        OnModeChanging="fwWebsite_ModeChanging" 
                        OnItemInserting="fwWebsite_ItemInserting"                      
                        onpageindexchanging="fwWebsite_PageIndexChanging">
                        <EmptyDataRowStyle BackColor="#FF0066" />
                        <InsertItemTemplate>
                           子网站名称<asp:TextBox ID="TextBox10" runat="server"></asp:TextBox>
                            域名<asp:TextBox ID="TextBox11" runat="server"></asp:TextBox>
                            <asp:Button ID="btnDeleteWS" runat="server" Text="-" CommandName="Delete" />
                        </InsertItemTemplate>
                        <ItemTemplate>                             
                        </ItemTemplate>    
                        <EditItemTemplate>
                            子网站名称<asp:TextBox ID="TextBox10" runat="server" Text='<%#Bind("website")%>'></asp:TextBox>
                            域名<asp:TextBox ID="TextBox11" runat="server" Text='<%#Bind("domainname")%>'></asp:TextBox>
                            <asp:Button ID="btnDeleteWS" runat="server" Text="-" CommandName="Delete" />
                        </EditItemTemplate>                   
                        <FooterTemplate>
                            <asp:Button ID="btnCreateWS" runat="server" Text="+" CommandName="Insert" />
                        </FooterTemplate>
                    </asp:FormView>
             </td>
             </tr>
            
        </table>
    </div>
     <div><asp:Button ID="btnSave" runat="server" onclick="btnSave_Click" Text="保存" /></div>
    </div>
    </form>
</body>
</html>
